import Vue from 'vue'
import App from './App.vue'
import router from './router'
import store from './store'
import Axios from 'axios'
import VueAxios from 'vue-axios'
Axios.defaults.baseURL='http://127.0.0.1:3000'
Axios.defaults.withCredentials = true //发请求携带cookie
// Axios.defaults.baseURL = '服务器路径'
Vue.use(VueAxios,Axios)
Vue.config.productionTip = false
new Vue({
  router,
  store,
  render: h => h(App)
}).$mount('#app')

